package com.codi.bus.core.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.codi.base.domain.BaseDomain;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 亲，写个类注释呗
 * @author asus
 * @date 2018-03-12 17:38
 */
@Builder
@Accessors(chain = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PortfolioTrade extends BaseDomain {
    private Long ptPortfolioTradeId;

    private Long ptOnePortfolioId;

    private String ptPortfolioCode;

    private String ptPortfolioName;

    private BigDecimal ptOnePortfolioAssets;

    private BigDecimal ptOnePortfolioTodayIncome;

    private BigDecimal ptPortfolioCurrentShare;

    private BigDecimal ptPortfolioEnableShare;

    private String ptTradeAccount;

    private String ptBankNo;

    private String ptBankName;

    private String ptBankCode;

    private String ptCapitalMode;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date ptEffectTime;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date ptCreateDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date ptUpdateDate;

    private static final long serialVersionUID = 1L;
}